package com.rc.saas.tenant.service.hlht;

import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.common.vo.TResponse;
import com.rc.saas.tenant.mapper.hlht.HlhtTenantOpenPriceMapper;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpen;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenPrice;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenPriceExample;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenStation;
import com.rc.saas.tenant.vo.hlht.HlhtTenantOpenStationPriceVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigDecimal;
import java.util.List;

public interface HlhtTenantOpenPriceService extends BaseService<Long, HlhtTenantOpenPrice, HlhtTenantOpenPriceExample, HlhtTenantOpenPriceMapper> {
    TResponse deleteHlhtTenantOpenPriceByOpenStation(HlhtTenantOpenStation hlhtTenantOpenStation);

    List<HlhtTenantOpenPrice> selectByBatch(List<Long> elecStationIdList, HlhtTenantOpen hlhtTenantOpen);

    void updateOperateAdjustValueByBatch(List<HlhtTenantOpenPrice> hlhtTenantOpenPriceList, BigDecimal adjustValue);

    void updateHlhtTenantOpenPrice(List<HlhtTenantOpenStationPriceVo> hlhtTenantOpenPriceList);

}
